package br.com.character.flex.chorm.core.annotation
{
    [Bindable]
    public class Table extends Annotation implements ITable
    {
        private var _pk:IPrimaryKey;
        public function Table(n:String=null, p:IPrimaryKey = null)
        {
            _pk = p;
            super(n);
        }

        public function get pk():IPrimaryKey
        {
            return _pk;
        }

        public function set pk(value:IPrimaryKey):void
        {
            _pk = value;
        }
    }
}